<?php

namespace app\reception\validate;

use think\Validate;

class PayValidate extends Validate
{
    protected $rule = [
        'pay_item_id' => 'require|number|gt:0',
        'pay_type' => 'require|number|in:1,2',
        'nid' => 'number|egt:0',
    ];

    protected $message = [

    ];

    protected $scene = [
        'placeOrder' => ['pay_item_id', 'pay_type'],
    ];
}